import { Controller, Get, Post, Body, Patch, Param, Delete, HttpCode, HttpStatus } from "@nestjs/common";
import { VerifySessionService } from './verify-session.service';
import { CreateVerifySessionDto } from './dto/create-verify-session.dto';
import { Public } from "../decorator/is-public/is-public.decorator";

@Controller('VerifySession')
export class VerifySessionController {
  constructor(private readonly verifySessionService: VerifySessionService) {}

  @Public()
  @Post()
  @HttpCode(HttpStatus.OK)
  create(@Body() createVerifySessionDto: CreateVerifySessionDto) {
    return this.verifySessionService.create(createVerifySessionDto);
  }
}
